package com.xuelang.pipeline.client.task.dto;

import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liuyuan.ly
 * @since 2024/6/18 16:04
 */
@Data
public class DeployTaskConfigDTO implements Serializable {
    private static final long serialVersionUID = 388964904590344835L;

    @NotNull(message = "cpu不能为空")
    private String cpu;
    @NotNull(message = "port不能为空")
    private String port;
    @NotNull(message = "replicas不能为空")
    private String replicas;
    @NotNull(message = "memory不能为空")
    private String memory;
    @NotNull(message = "domainName不能为空")
    private String domainName;
    private String nodePort;
}
